package com.exmaple.smart.gwt.client.ui.data;

import com.exmaple.smart.gwt.client.ui.view.AccountView;
import com.exmaple.smart.gwt.client.ui.view.CalendarView;

public class SalesNavigationPaneSectionData {

	private static NavigationPaneRecord[] records;

	public static NavigationPaneRecord[] getRecords() {
		if (records == null) {
			records = getNewRecords();
		}
		return records;
	}

	public static NavigationPaneRecord[] getNewRecords() {
		return new NavigationPaneRecord[] {
				new NavigationPaneRecord("activities", "Activities",
						new AccountView.Factory(), null),
				new NavigationPaneRecord("calendar", "Calendar",
						new CalendarView.Factory(), null),
				new NavigationPaneRecord("leads", "Leads",
						new AccountView.Factory(), null),
				new NavigationPaneRecord("opportunities", "Opportunities",
						new AccountView.Factory(), null),
				new NavigationPaneRecord("accounts", "Accounts",
						new AccountView.Factory(), null),
				new NavigationPaneRecord("contacts", "Contacts",
						new AccountView.Factory(), null) };
	}
}